prepare("delete from admin where sn = $id") ; if($sql->execute()) { $act = $adm."deleted a Admin Account" ; $user->monitor($act) ; header("location: regadmin.php") ; } ?>